﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using WebInterface;

namespace WebServices
{
    public class SimpleSingleServiceA : ISimpleSingleService
    {
        private readonly ILogger<SimpleSingleService> _logger;

        public SimpleSingleServiceA(ILogger<SimpleSingleService> logger)
        {
            _logger = logger;
            Console.WriteLine("SimpleSingleService builed");
        }

        public void ChangeIndentify(int r)
        {
            throw new NotImplementedException();
        }

        public string GetString()
        {
            Random r = new Random();
            return r.Next(1, 10).ToString();
        }
    }
}
